Optimal. Leaf size=50 \[ a^2 A x+\frac{1}{5} b x^5 (2 a B+A b)+\frac{1}{3} a x^3 (a B+2 A b)+\frac{1}{7} b^2 B x^7 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0610966, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ a^2 A x+\frac{1}{5} b x^5 (2 a B+A b)+\frac{1}{3} a x^3 (a B+2 A b)+\frac{1}{7} b^2 B x^7 \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{B b^{2} x^{7}}{7} + a^{2} \int A\, dx + \frac{a x^{3} \left (2 A b + B a\right )}{3} + \frac{b x^{5} \left (A b + 2 B a\right )}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0130988, size = 50, normalized size = 1. \[ a^2 A x+\frac{1}{5} b x^5 (2 a B+A b)+\frac{1}{3} a x^3 (a B+2 A b)+\frac{1}{7} b^2 B x^7 \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.001, size = 49, normalized size = 1. \[{\frac{{b}^{2}B{x}^{7}}{7}}+{\frac{ \left ({b}^{2}A+2\,abB \right ){x}^{5}}{5}}+{\frac{ \left ( 2\,abA+{a}^{2}B \right ){x}^{3}}{3}}+{a}^{2}Ax \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)^2*(B*x^2+A),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.3395, size = 65, normalized size = 1.3 \[ \frac{1}{7} \, B b^{2} x^{7} + \frac{1}{5} \,{\left (2 \, B a b + A b^{2}\right )} x^{5} + A a^{2} x + \frac{1}{3} \,{\left (B a^{2} + 2 \, A a b\right )} x^{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.206069, size = 1, normalized size = 0.02 \[ \frac{1}{7} x^{7} b^{2} B + \frac{2}{5} x^{5} b a B + \frac{1}{5} x^{5} b^{2} A + \frac{1}{3} x^{3} a^{2} B + \frac{2}{3} x^{3} b a A + x a^{2} A \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.112546, size = 53, normalized size = 1.06 \[ A a^{2} x + \frac{B b^{2} x^{7}}{7} + x^{5} \left (\frac{A b^{2}}{5} + \frac{2 B a b}{5}\right ) + x^{3} \left (\frac{2 A a b}{3} + \frac{B a^{2}}{3}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.23633, size = 68, normalized size = 1.36 \[ \frac{1}{7} \, B b^{2} x^{7} + \frac{2}{5} \, B a b x^{5} + \frac{1}{5} \, A b^{2} x^{5} + \frac{1}{3} \, B a^{2} x^{3} + \frac{2}{3} \, A a b x^{3} + A a^{2} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2,x, algorithm="giac")
[Out]